package org.anjan.dp.decorator.pizzasample;

/**
 * Created by chebbaso on 12/4/14.
 */
public class ToppingDecorator implements Pizza {
    protected  Pizza pizza;

    public ToppingDecorator(Pizza pizza) {
        this.pizza = pizza;
    }

    @Override
    public String getDescription() {
        return pizza.getDescription();
    }

    @Override
    public double getPrice() {
        return pizza.getPrice();
    }
}
